package com.example.data_save.entity;

import android.provider.ContactsContract;

import java.util.Date;

/**
 * @author: snjgm
 * data: 2022/7/19
 * description:
 */
public class User {

    //序号
    public  int _id;
    //姓名
    public  String name;
    //年龄
    public  int age;
    //是否婚配
    public Boolean married;


    public User(String name, int age, Boolean married) {
        this.name = name;
        this.age = age;
        this.married = married;
    }


    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public Boolean getMarried() {
        return married;
    }

    @Override
    public String toString() {
        return "User{" +
                "_id=" + _id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", married=" + married +
                '}';
    }
}
